package com.noble.glamour.bean.center.user.light;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * 轻量用户数据列表
 * Created by Su on 2017/11/17.
 */
public class UserLightList extends BaseData {
    private ArrayList<UserLight> lightList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.lightList = (ArrayList<UserLight>) getBaseDataList(jsonArray, UserLight.class);
    }

    public ArrayList<UserLight> getLightList() {
        return lightList;
    }
}
